package com.edu.dao;

import com.edu.data.Order;
import com.edu.data.Product;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface OrderMapper {
    int insert(Order record);

    int insertSelective(Order record);

    List<Map<Order, Product>> findAllorders(@Param("id") Long id);

    void updateOrder(Order order);

    Order findOrders(Long eoId);
}